package com.yx.modules.api.entity;

import java.io.Serializable;
import java.util.Date;



/**
 * 评分记录
 * 
 * @author luo
 * @email www.baidu.com
 * @date 2018-06-20 10:06:11
 */
public class TbGradeRecord implements Serializable {
	private static final long serialVersionUID = 1L;
	
	//
	private Integer id;
	//用户id
	private Integer userId;
	//图书id
	private Integer bookId;
	//分数
	private Double grade;
	//评分时间
	private Date createDate;

	public Integer getBookId() {
		return bookId;
	}

	public void setBookId(Integer bookId) {
		this.bookId = bookId;
	}

	/**
	 * 设置：
	 */
	public void setId(Integer id) {
		this.id = id;
	}
	/**
	 * 获取：
	 */
	public Integer getId() {
		return id;
	}
	/**
	 * 设置：用户id
	 */
	public void setUserId(Integer userId) {
		this.userId = userId;
	}
	/**
	 * 获取：用户id
	 */
	public Integer getUserId() {
		return userId;
	}
	/**
	 * 设置：分数
	 */
	public void setGrade(Double grade) {
		this.grade = grade;
	}
	/**
	 * 获取：分数
	 */
	public Double getGrade() {
		return grade;
	}
	/**
	 * 设置：评分时间
	 */
	public void setCreateDate(Date createDate) {
		this.createDate = createDate;
	}
	/**
	 * 获取：评分时间
	 */
	public Date getCreateDate() {
		return createDate;
	}
}
